home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 112
/
jogo-disk-112.iso
/
Games
/
ophelias_diary_2_episode_1.swf
/
scripts
/
DefineButton2_1953
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2010-07-14
|
1KB
|
44 lines
on(release){
set("/Variables:NbMachine",eval("/Variables:NbMachine") + 1);
if(10 < eval("/Variables:NbMachine"))
{
tellTarget("/HsNeg")
{
play();
}
set("/Variables:NbMachine",0);
}
if(eval("/Variables:Vert") == 1 or eval("/Variables:PorteEntrepot") == 1)
{
tellTarget("../../")
{
gotoAndStop("Bouton6");
play();
}
setProperty("../", _X, -543);
if(eval("/Variables:PorteEntrepot") == 0)
{
setProperty("../../../Tunnel", _visible, 1);
setProperty("../../../Fenetre", _visible, 1);
setProperty("../../../Reflet", _visible, 1);
}
if(eval("/Variables:Vert") == 1 and (eval("/Variables:Main") == 0 or eval("/Variables:Pendant") == 0))
{
setProperty("../../../GlowBoite", _visible, 1);
}
tellTarget("../../../Fleche")
{
gotoAndStop(1);
}
nextFrame();
}
else if(eval("/Variables:Parle") == 0)
{
tellTarget("/Voix")
{
gotoAndStop("ToDark");
play();
}
}
}